package queue

import (
	"yunj/pkg/yunj/app/controller/admin"
	"yunj/pkg/yunj/app/service/admin/queueservice"

	"github.com/gin-gonic/gin"
)

// 队列管理
type Queue struct {
	admin.Controller
}

// 列表
func (ctrl *Queue) List(ctx *gin.Context) {
	ctrl.RenderTable(ctx, queueservice.QueuePage.ListBuilder(ctx))
}
